home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
cdplay1a
/
frmabout.frm
(
.txt
)
< prev
next >
Wrap
Visual Basic Form
|
1999-09-19
|
6KB
|
181 lines
VERSION 5.00
Begin VB.Form frmAbout
BorderStyle = 1 'Fixed Single
Caption = " Alpha CD"
ClientHeight = 2265
ClientLeft = 45
ClientTop = 330
ClientWidth = 4050
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Icon = "frmAbout.frx":0000
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2265
ScaleWidth = 4050
StartUpPosition = 2 'CenterScreen
Begin VB.CommandButton Command1
Caption = "&Close"
Default = -1 'True
Height = 375
Left = 3000
TabIndex = 0
Top = 1800
Width = 975
End
Begin VB.Label lblLink
BackStyle = 0 'Transparent
Caption = "http://developer.ecorp.net"
BeginProperty Font
Name = "Tahoma"
Size = 9.75
Charset = 0
Weight = 700
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 255
Left = 120
MouseIcon = "frmAbout.frx":0442
MousePointer = 99 'Custom
TabIndex = 7
Top = 1920
Width = 3375
End
Begin VB.Label Label3
BackStyle = 0 'Transparent
Caption = "FREE Visual Basic Source Code"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 375
Left = 120
TabIndex = 6
Top = 1680
Width = 2895
End
Begin VB.Label Label5
BackStyle = 0 'Transparent
Caption = "This product is freeware and may be distributed without regard for payment."
BeginProperty Font
Name = "Tahoma"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 615
Left = 120
TabIndex = 5
Top = 1080
Width = 3855
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "Alpha CD"
BeginProperty Font
Name = "Copperplate Gothic Bold"
Size = 26.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 615
Left = 120
TabIndex = 4
Top = 120
Width = 3255
End
Begin VB.Label Label1
Alignment = 1 'Right Justify
BackStyle = 0 'Transparent
Caption = "Version"
ForeColor = &H00800000&
Height = 255
Left = 1920
TabIndex = 3
Top = 720
Width = 855
End
Begin VB.Label lblVersion
ForeColor = &H00800000&
Height = 255
Left = 2880
TabIndex = 2
Top = 720
Width = 615
End
Begin VB.Label lblName
BackStyle = 0 'Transparent
Caption = "Alpha CD"
BeginProperty Font
Name = "Copperplate Gothic Bold"
Size = 26.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00E0E0E0&
Height = 495
Left = 240
TabIndex = 1
Top = 240
Width = 4335
End
Attribute VB_Name = "frmAbout"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub ExecuteLink(ByVal sLinkTo As String)
' Execute the link to http://http://developer.ecorp.net
' (if possible)
On Error Resume Next
Dim lRet As Long
Dim lOldCursor As Long
lOldCursor = Screen.MousePointer
Screen.MousePointer = vbHourglass
lRet = ShellExecute(0, "open", sLinkTo, "", vbNull, SW_SHOWNORMAL)
If lRet >= 0 And lRet <= 0 Then
Screen.MousePointer = vbDefault
MsgBox "Error Opening Link to" & sLinkTo & vbCrLf & vbCrLf & Err.LastDllError, , "frmAbout::ExecuteLink"
End If
Screen.MousePointer = vbDefault
End Sub
Private Sub Command1_Click()
Unload Me
End Sub
Private Sub Form_Load()
lblVersion.Caption = App.Major & "." & App.Minor & "." & App.Revision
End Sub
Private Sub lblLink_Click()
ExecuteLink lblLink.Caption
End Sub